package ck.com.pojo;

import java.io.Serializable;
import java.util.Date;

public class DeliveryOrder implements Serializable {

    private static final long serialVersionUID = 1L;

    private Integer id;
    private String deliveryOrderCode;
    private Integer purchaseOrderId;
    private Integer supplierId;
    private Integer status;
    private Integer staffId;
    private Integer whEntryId;

    //增加的实体类属性
    private String purchaseOrderCode;
    private String supplierName;
    private String statusName;
    private String whEntryCode;
    private String userName;
    private Date createDate;

    public Date getCreateDate() {
        return createDate;
    }

    public void setCreateDate(Date createDate) {
        this.createDate = createDate;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getDeliveryOrderCode() {
        return deliveryOrderCode;
    }

    public void setDeliveryOrderCode(String deliveryOrderCode) {
        this.deliveryOrderCode = deliveryOrderCode;
    }

    public Integer getPurchaseOrderId() {
        return purchaseOrderId;
    }

    public void setPurchaseOrderId(Integer purchaseOrderId) {
        this.purchaseOrderId = purchaseOrderId;
    }

    public Integer getSupplierId() {
        return supplierId;
    }

    public void setSupplierId(Integer supplierId) {
        this.supplierId = supplierId;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Integer getStaffId() {
        return staffId;
    }

    public void setStaffId(Integer staffId) {
        this.staffId = staffId;
    }

    public Integer getWhEntryId() {
        return whEntryId;
    }

    public void setWhEntryId(Integer whEntryId) {
        this.whEntryId = whEntryId;
    }

    public String getPurchaseOrderCode() {
        return purchaseOrderCode;
    }

    public void setPurchaseOrderCode(String purchaseOrderCode) {
        this.purchaseOrderCode = purchaseOrderCode;
    }

    public String getSupplierName() {
        return supplierName;
    }

    public void setSupplierName(String supplierName) {
        this.supplierName = supplierName;
    }

    public String getStatusName() {
        return statusName;
    }

    public void setStatusName(String statusName) {
        this.statusName = statusName;
    }

    public String getWhEntryCode() {
        return whEntryCode;
    }

    public void setWhEntryCode(String whEntryCode) {
        this.whEntryCode = whEntryCode;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", deliveryOrderId=").append(deliveryOrderCode);
        sb.append(", purchaseOrderId=").append(purchaseOrderId);
        sb.append(", supplierId=").append(supplierId);
        sb.append(", deliveryOrderStatus=").append(status);
        sb.append(", staffId=").append(staffId);
        sb.append(", whEntryId=").append(whEntryId);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}